package org.uim.cricket.db;

public class DefaultDBSchemaIdentifier implements DBSchemaIdentifiable {

	private String dbClass = "com.mysql.jdbc.Driver";
	private String dbConnectionStr = "jdbc:mysql://localhost/mycricket";
	private String dbUser = "root";
	private String dbPassword = "chaturika";
	
	public DefaultDBSchemaIdentifier(String theDBDriver, String theConnectStr, String theUser, String thePassword) {
		this.dbClass = theDBDriver;
		this.dbConnectionStr = theConnectStr;
		this.dbPassword = thePassword;
		this.dbUser = theUser;
	}
	
	@Override
	public String getDatabaseDriver() {
		return dbClass;
	}

	@Override
	public String getDatabaseUserName() {
		return dbUser;
	}

	@Override
	public String getDatabasePassword() {
		return dbPassword;
	}

	@Override
	public String getDatabaseConnectionStr() {
		return dbConnectionStr;
	}

}
